﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace FileService.model
{
    /// <summary>
    /// 压缩信息封装
    /// </summary>
    public class ZipBaseInfo
    {
        private string name;
        private string password;
        private int level;
        private string path;
        private List<string> realFilePaths;
        private List<string> zipFilePaths;
        /// <summary>
        /// zip名称
        /// </summary>
        public string Name { get => name; set => name = value; }
        /// <summary>
        /// 压缩密码
        /// </summary>
        public string Password { get => password; set => password = value; }
        /// <summary>
        /// 压缩级别
        /// </summary>
        public int Level { get => level; set => level = value; }
        /// <summary>
        /// zip路径
        /// </summary>
        public string Path { get => path; set => path = value; }
        /// <summary>
        /// 真实文件全名称路径集合
        /// </summary>
        public List<string> RealFilePaths { get => realFilePaths; set => realFilePaths = value; }
        /// <summary>
        /// 压缩包内全名称路径集合
        /// </summary>
        public List<string> ZipFilePaths { get => zipFilePaths; set => zipFilePaths = value; }
    }
}
